package com.jieao.framework.web.service;

import com.jieao.framework.util.ShiroUtils;
import com.jieao.system.domain.SysDictData;
import com.jieao.system.domain.SysUser;
import com.jieao.system.service.ISysDictDataService;
import com.jieao.system.service.ISysDictTypeService;
import com.jieao.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * html调用 thymeleaf 实现字典读取
 */
@Service("user")
public class UserService {
    /**
     * 获取当前登录用户
     * @Author LWF
     * @Date 9:44 2020/9/3
     **/
    public SysUser getUser() {
        return ShiroUtils.getSysUser();
    }
}
